import { defineConfig } from '@umijs/max';
import { routes } from '../src/routes';
export default defineConfig({
  layout: {},
  routes,
  hash: true,
  mfsu: {},
  analyze: {
    analyzerMode: 'server',

    openAnalyzer: true,
    // generate stats file while ANALYZE_DUMP exist
    generateStatsFile: false,
    statsFilename: 'stats.json',
    logLevel: 'info',
    defaultSizes: 'parsed', // stat  // gzip
  },

  // conventionLayout: false,
  model: {},
  initialState: {},
  request: {},
  favicons: ['/img/favicon.png'],
  antd: {
    configProvider: {},
    appConfig: {},
  },
});
